<?php
$dictionary['Document']['fields']['template_type']['audited'] = true;
$dictionary['Document']['fields']['template_type']['required'] = true;
$dictionary['Document']['fields']['category_id']['required'] = true;

$dictionary['Document']['fields']['related_editor_id'] = array (
	'name' => 'related_editor_id',
	'rname' => 'id',
	'vname' => 'LBL_RELATED_EDITOR_ID',
	'type' => 'id',
	'dbType'=>'id',
	'table' => 'users',
	'isnull' => 'true',
	'module' => 'edanz_Editor',
	'reportable'=>true,
	'dbType' => 'id',
	'audited'=>true,
	'duplicate_merge'=>'disabled'
);

$dictionary['Document']['fields']['editor'] = array(
	'name'=>'editor',
	'vname'=>'LBL_RELATED_EDITOR',
	'type'=>'link',
	'relationship'=>'editor_documents',
	'source' => 'non-db',
);

$dictionary['Document']['fields']['editor_name'] = array (
	'name' => 'editor_name',
	'rname' => 'full_name',
	'db_concat_fields'=> array(0=>'first_name', 1=>'last_name'),
	'vname' => 'LBL_RELATED_EDITOR',
	'type' => 'relate',
	'link' => 'editor',
	'join_name' => 'editor',
	'group' => 'editor_name',
	'isnull' => 'true',
	'reportable'=>false,
	'source'=>'non-db',
	'table' => 'users',
	'id_name' => 'related_editor_id',
	'module'=>'edanz_Editor',
	'duplicate_merge'=>'disabled',
);
$dictionary['Document']['fields']['related_job_name'] = array (
	'name' => 'related_job_name',
	'vname' => 'LBL_RELATED_JOB_NAME',
	'type' => 'varchar',
	'reportable'=>true,
	'audited'=>true,
	'duplicate_merge'=>'disabled',
	'source'=>'non-db',
);
$dictionary['Document']['fields']['related_job_id'] = array (
	'name' => 'related_job_id',
	'vname' => 'LBL_RELATED_JOB_ID',
	'type' => 'id',
	'source'=>'non-db',
);
$dictionary['Document']['fields']['related_deliverable_name'] = array (
	'name' => 'related_deliverable_name',
	'vname' => 'LBL_RELATED_DELIVERABLE_NAME',
	'type' => 'varchar',
	'reportable'=>true,
	'audited'=>true,
	'duplicate_merge'=>'disabled',
	'source'=>'non-db',
);
$dictionary['Document']['fields']['academic_major'] = array (
	'name' => 'academic_major',
	'vname' => 'LBL_ACADEMIC_MAJOR',
	'type' => 'varchar',
	'reportable'=>true,
	'audited'=>true,
	'duplicate_merge'=>'disabled'
);
$dictionary['Document']['fields']['academic_minor'] = array (
	'name' => 'academic_minor',
	'vname' => 'LBL_ACADEMIC_MINOR',
	'type' => 'varchar',
	'reportable'=>true,
	'audited'=>true,
	'duplicate_merge'=>'disabled'
);
$dictionary['Document']['fields']['abstract'] = array (
	'name' => 'abstract',
	'vname' => 'LBL_ABSTRACT',
	'type' => 'text',
	'reportable'=>true,
	'audited'=>true,
	'duplicate_merge'=>'disabled'
);
$dictionary['Document']['fields']['security_group'] = array (
	'name' => 'security_group',
	'vname' => 'LBL_SECURITY_GROUP',
	'type' => 'enum',
	'options'=>'security_group_list',
	'reportable'=>true,
	'audited'=>true,
	'duplicate_merge'=>'disabled',
	'source'=>'non-db',
);
 

$dictionary['Document']['fields']['latest_rev_for_task'] = array(
	'name' => 'latest_rev_for_task',
	'vname' => 'LBL_LAST_REV_FOR_TASK',
	'type' => 'varchar',
	'source'=>'non-db'
);
$dictionary["Document"]["fields"]["edanz_deliverables_edanz_documents"] = array (
	  'name' => 'edanz_deliverables_edanz_documents',
	  'type' => 'link',
	  'relationship' => 'edanz_deliverables_edanz_documents',
	  'source' => 'non-db',
	  'vname' => 'LBL_AUTHORPREFERENCES_SUBPANEL_TITLE',
	);
$dictionary['Document']['fields']['document_name']['audited'] = true;
$dictionary['Document']['fields']['name']['audited'] = true;
$dictionary['Document']['fields']['description']['audited'] = true;
$dictionary['Document']['fields']['category_id']['audited'] = true;



?>
